<template>
  <div class="bbb">
    我是子bbb
  </div>
</template>

<script>
export default {

  created() {
    this.$bus.$on('a', (x) => {
      console.log(x)
    })
  }

}
</script>

<style scoped>
.bbb{
    width: 100px;
    height: 100px;
    border: 1px solid red;
}

</style>
